ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid Namespace / DataGridSelectedItemsCollection<T> Class / DataGridSelectedItemsCollection<T> Constructor
The indexer function.
The count function.
The contains function.
The enumerable function.

In This Topic
    DataGridSelectedItemsCollection<T> Constructor
    In This Topic
    Initializes a new instance of the DataGridSelectedItemsCollection<T> class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal indexer As Func(Of Integer,T), _
       ByVal count As Func(Of Integer), _
       ByVal contains As Func(Of T,Boolean), _
       ByVal enumerable As Func(Of IEnumerable(Of T)) _
    )
    public DataGridSelectedItemsCollection<T>( 
       Func<int,T> indexer,
       Func<int> count,
       Func<T,bool> contains,
       Func<IEnumerable<T>> enumerable
    )

    Parameters

    indexer
    The indexer function.
    count
    The count function.
    contains
    The contains function.
    enumerable
    The enumerable function.
    See Also